<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8" />
<title>加入医师详情</title>
<meta name="renderer" content="webkit|ie-comp|ie-stand" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport"
	content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
<meta http-equiv="Cache-Control" content="no-siteapp" />

<link rel="stylesheet" href="./css/font.css" th:href="@{/css/font.css}" />
<link rel="stylesheet" href="./css/xadmin.css"
	th:href="@{/css/xadmin.css}" />
<script type="text/javascript" src="/js/jquery.min.js"
	th:src="@{/js/jquery.min.js}"></script>
<script src="./lib/layui/layui.js" charset="utf-8"
	th:src="@{/lib/layui/layui.js}"></script>
<script type="text/javascript" src="./js/xadmin.js"
	th:src="@{/js/xadmin.js}"></script>
    
</head>
<body>
	<!-- 顶部开始 -->
	<div class="container">
		<div class="logo">
			<a href="/">一带一路后台管理</a>
		</div>
		<div class="left_open">
			<i title="展开左侧栏" class="iconfont">&#xe699;</i>
		</div>
        <ul class="layui-nav right" lay-filter="">
          <li class="layui-nav-item">
            <a href="javascript:;">admin</a>
            <dl class="layui-nav-child"> <!-- 二级菜单 -->
              <dd><a th:href="@{/layout}">退出</a></dd>
            </dl>
          </li>
        </ul>
        <script type="text/javascript">
        /*<![CDATA[*/
        	function editPwd(){
        		 var pwd = prompt("请输入您要修改的密码", "");
        		 if(pwd.length<6||pwd==""){
        			 alert("请输入正确密码");
        		 }else if(pwd!=""){
        			 $.ajax({
     				    url:'/user/editPwd',
     				    type:'GET', //GET
     				    async:true,    //或false,是否异步
     				    data:{
     				    	pwd:pwd
     				    },
     				    timeout:5000,    //超时时间
     				    dataType:'text',    //返回的数据格式：json/xml/html/script/jsonp/text
     				    success:function(data,textStatus,jqXHR){
     				    	if(data>0){
     				              layer.msg('修改成功!',{icon:1,time:1000});
     				    	}else{
     				    		 layer.msg('修改失败!',{icon:1,time:1000});
     				    	}
     				    }
     				});
        		 }
        	}
        	/*]]>*/
        </script>
    </div>

	<!-- 顶部结束 -->
	<!-- 中部开始 -->
	<!-- 左侧菜单开始 -->
	<div class="left-nav">
		<div id="side-nav">
			<ul id="nav"> 
     <li><a href="javascript:;"> <i class="iconfont"></i> <cite>会员管理</cite> <i class="iconfont nav_right"></i> </a> 
      <ul class="sub-menu"> 
       <li><a th:href="@{/user/getList}"> <i class="iconfont"></i> <cite>会员列表</cite> </a></li> 
      </ul></li> 
     <li><a href="javascript:;"> <i class="iconfont"></i> <cite>健康指南</cite> <i class="iconfont nav_right"></i> </a> 
      <ul class="sub-menu"> 
       <li><a th:href="@{/artType/getList}"> <i class="iconfont"></i> <cite>分类列表</cite> </a></li> 
       <li><a href="javascript:;"> <i class="iconfont"></i> <cite>资讯管理</cite> <i class="iconfont nav_right"></i> </a> 
        <ul class="sub-menu"> 
         <li><a th:href="@{/article/getList}"> <i class="iconfont"></i> <cite>资讯列表</cite> </a></li> 
         <li><a th:href="@{/artType/addArticle}"> <i class="iconfont"></i> <cite>资讯添加</cite> </a></li> 
        </ul></li> 
      </ul></li> 
     <li><a href="javascript:;"> <i class="iconfont"></i> <cite>医师管理</cite> <i class="iconfont nav_right"></i> </a> 
      <ul class="sub-menu"> 
       <li><a th:href="@{/doctorType/query}"> <i class="iconfont"></i> <cite>职业分类列表</cite> </a></li> 
       <li><a th:href="@{/doctor/getList}"> <i class="iconfont"></i> <cite>加入申请列表</cite> </a></li> 
       <li><a th:href="@{/doctor/toAdd}"> <i class="iconfont"></i> <cite>医师增加</cite> </a></li> 
       <li><a th:href="@{/doctor/query}"> <i class="iconfont"></i> <cite>医师列表</cite> </a></li> 
      </ul></li> 
     <li><a href="javascript:;"> <i class="iconfont"></i> <cite>处方管理</cite> <i class="iconfont nav_right"></i> </a> 
      <ul class="sub-menu"> 
       <li><a th:href="@{/illnessType/query}"> <i class="iconfont"></i> <cite>分类列表</cite> </a></li> 
       <li><a href="javascript:;"> <i class="iconfont"></i> <cite>处方管理</cite> <i class="iconfont nav_right"></i> </a> 
        <ul class="sub-menu"> 
         <li><a th:href="@{/recipe/query}"> <i class="iconfont"></i> <cite>处方列表</cite> </a></li> 
         <li><a th:href="@{/recipe/toAdd}"> <i class="iconfont"></i> <cite>处方添加</cite> </a></li> 
        </ul></li> 
      </ul></li> 
     <li><a href="javascript:;"> <i class="iconfont"></i> <cite>服务中心管理</cite> <i class="iconfont nav_right"></i> </a> 
      <ul class="sub-menu"> 
       <li><a th:href="@{/area/query}"> <i class="iconfont"></i> <cite>区域列表</cite> </a></li> 
       <li><a href="javascript:;"> <i class="iconfont"></i> <cite>服务中心管理</cite> <i class="iconfont nav_right"></i> </a> 
        <ul class="sub-menu"> 
         <li><a th:href="@{/serviceCenter/query}"> <i class="iconfont"></i> <cite>服务中心列表</cite> </a></li> 
         <li><a th:href="@{/serviceCenter/toAdd}"> <i class="iconfont"></i> <cite>服务中心添加</cite> </a></li> 
        </ul></li> 
      </ul></li> 
       <li><a href="javascript:;"> <i class="iconfont"></i> <cite>订单管理</cite> <i class="iconfont nav_right"></i> </a> 
      <ul class="sub-menu"> 
       <li><a th:href="@{/order/query}"> <i class="iconfont"></i> <cite>订单列表</cite> </a></li> 
      </ul></li> 
     <li><a href="javascript:;"> <i class="iconfont"></i> <cite>banner图管理</cite> <i class="iconfont nav_right"></i> </a> 
      <ul class="sub-menu"> 
       <li><a th:href="@{/img/query}"> <i class="iconfont"></i> <cite>banner图列表</cite> </a></li> 
       <li><a th:href="@{/img/toAdd}"> <i class="iconfont"></i> <cite>banner图添加</cite> </a></li> 
      </ul> </li> 
     <li><a href="javascript:;"> <i class="iconfont"></i> <cite>保险管理</cite> <i class="iconfont nav_right"></i> </a> 
      <ul class="sub-menu"> 
       <li><a th:href="@{/insurance/query}"> <i class="iconfont"></i> <cite>保险列表</cite> </a></li> 
        <li><a th:href="@{/userreceive/getList}"> <i class="iconfont"></i> <cite>保险领取会员列表</cite> </a></li> 
       <li><a th:href="@{/insurance/toAdd}"> <i class="iconfont"></i> <cite>保险添加</cite> </a></li> 
       <li><a th:href="@{/insuranceDetail/toAdd?type=1}"> <i class="iconfont"></i> <cite>报销说明管理</cite> </a></li>
       <li><a th:href="@{/insuranceDetail/toAdd?type=2}"> <i class="iconfont"></i> <cite>福利说明管理</cite> </a></li>
      </ul> </li> 
       <li><a href="javascript:;"> <i class="iconfont"></i> <cite>区块链管理</cite> <i class="iconfont nav_right"></i> </a> 
      <ul class="sub-menu"> 
       <li><a th:href="@{/chain/toAdd}"> <i class="iconfont"></i> <cite>区块链管理</cite> </a></li> 
      </ul> </li> 
       <li><a href="javascript:;"> <i class="iconfont"></i> <cite>条款管理</cite> <i class="iconfont nav_right"></i> </a> 
      <ul class="sub-menu"> 
         <li><a th:href="@{/insuranceDetail/toAdd?type=3}"> <i class="iconfont"></i> <cite>使用条款管理</cite> </a></li>
       <li><a th:href="@{/insuranceDetail/toAdd?type=4}"> <i class="iconfont"></i> <cite>隐私权政策管理</cite> </a></li>
      </ul> </li> 
    </ul> 
		</div>
	</div>
	<!-- <div class="x-slide_left"></div> -->
	<!-- 左侧菜单结束 -->
	<!-- 右侧主体开始 -->
	<div class="page-content">
		<div class="layui-tab tab" lay-filter="xbs_tab" lay-allowclose="false">
			<!--  <ul class="layui-tab-title">
            <li>我的桌面</li>
          </ul> -->
          <div class="layui-tab-content" style="margin-top: -30px;">
            <div class="layui-tab-item layui-show" style="overflow: scroll;">
                <!-- <div th:include="admin/welcome :: copy"></div> -->
                <div class="x-body">
			        <form class="layui-form" method="post" th:action="@{/project/updateProject}">
			          <div class="layui-form-item">
			              <label for="L_email" class="layui-form-label">
			                  <span class="x-red">*</span>姓名
			              </label>
			              <div class="layui-input-inline">
			                  <input type="text"  readonly="readonly" th:value="${doctor.doctor.name}" autocomplete="off"  style="width: 272px;" class="layui-input" />
			              </div>
			          </div>
			          <div class="layui-form-item">
			              <label for="L_username" class="layui-form-label">
			                  <span class="x-red">*</span>数据来源
			              </label>
			              <div class="layui-input-inline">
			              	<input type="text" required="" readonly="readonly" th:if="${doctor.doctor.source}==2" value="用户申请"  autocomplete="off" style="width: 272px;"  class="layui-input" />
			                  <input type="text" required="" readonly="readonly" th:if="${doctor.doctor.source}==1" value="后台录入"  autocomplete="off" style="width: 272px;"  class="layui-input" />
			              </div>
			          </div>
			           <div class="layui-form-item">
			              <label for="L_username" class="layui-form-label">
			                  <span class="x-red">*</span>职业分类
			              </label>
			              <div class="layui-input-inline">
			                  <input type="text"  th:value="${doctor.type.name}"  readonly="readonly"  autocomplete="off" style="width: 272px;" class="layui-input" />
			              </div>
			          </div>
			           <div class="layui-form-item">
			              <label for="L_username" class="layui-form-label">
			                  <span class="x-red">*</span>疾病分类
			              </label>
			              <div class="layui-input-inline">
			                  <input type="text"   readonly="readonly" th:value="${doctor.ill.name}" autocomplete="off" style="width: 272px;" class="layui-input" />
			              </div>
			          </div> 
			          <div class="layui-form-item">
			              <label for="L_username" class="layui-form-label">
			                  <span class="x-red">*</span>学历
			              </label>
			              <div class="layui-input-inline">
			                  <input type="text"  readonly="readonly" th:value="${doctor.doctor.education}" required="" lay-verify="required"  autocomplete="off" style="width: 272px;" class="layui-input" />
			              </div>
			          </div> 
			          
			          <div class="layui-form-item">
			              <label for="L_username" class="layui-form-label">
			                  <span class="x-red">*</span>电话
			              </label>
			              <div class="layui-input-inline">
			              	<input type="text"   readonly="readonly" th:value="${doctor.doctor.mobile}" autocomplete="off" style="width: 272px;" class="layui-input" />
			              </div>
			          </div>
			          <div class="layui-form-item">
			              <label for="L_username" class="layui-form-label">
			                  <span class="x-red">*</span>状态
			              </label>
			              <div class="layui-input-inline">
			              	<input type="text"    readonly="readonly" value="待审核" autocomplete="off" style="width: 272px;" class="layui-input" />
			                  
			              </div>
			          </div>
			          
			          
			           <div class="layui-form-item">
			              <label for="L_username" class="layui-form-label">
			                  <span class="x-red">*</span>工作经历
			              </label>
			              <div class="layui-input-inline">
			                  <table class="layui-table" style="width: 1000px;">
								  <colgroup>
								    <col width="150">
								    <col width="200">
								    <col>
								  </colgroup>
								  <thead>
								    <tr>
								      <th>职位类型</th>
								      <th>职位名称</th>
								      <th>公司名称</th>
								      <th>工作时间</th>
								      <th>工作内容</th>
								      <th>工作业绩</th>
								    </tr> 
								  </thead>
								  <tbody>
								    <tr th:each="sta,staStar:${doctor.dwList}">
								      <td th:text="${doctor.type.name}">需求确认</td>
								      <td th:text="${sta.name}">2016-11-29</td>
								      <td th:text="${sta.company}">未进行</td>
								      <td th:text="${#dates.format(sta.beginTime, 'yyyy-MM-dd')}+'-'+${#dates.format(sta.endTime, 'yyyy-MM-dd')}">人生就像是一场修行</td>
								      <td th:text="${sta.content}">未进行</td>
								      <td th:text="${sta.achievement}">进行中</td>
								    </tr>
								    
								  </tbody>
								</table>
			              </div>
			          </div> 
			          
			          <div class="layui-form-item">
			              <label for="L_username" class="layui-form-label">
			                  <span class="x-red">*</span>自我介绍
			              </label>
			              <div class="layui-input-inline">
			                  <textarea rows="10" cols="40" th:text="${doctor.doctor.introduction}" readonly="readonly"></textarea>
			              </div>
			          </div>
			          <div class="layui-form-item">
			              <label for="L_repass" class="layui-form-label">
			              </label>
			              
			              <a class="layui-btn" th:href="@{/doctor/updateStates(id=${doctor.doctor.id},states=3)}" >
					         	通过
					      </a>
					      <a  class="layui-btn" th:href="@{/doctor/updateStates(id=${doctor.doctor.id},states=2)}" >
					             	拒绝
					      </a>
			          </div>
			      </form>
			      
			    </div>
            </div>
          </div>
        </div>
    </div>
    <div class="page-content-bg"></div>
    <!-- 右侧主体结束 -->
    <!-- 中部结束 -->
    <!-- 底部开始 -->
    <div class="footer">
        <div class="copyright">北京西岐网络科技有限公司</div>  
    </div>
    
</body>
</html>